<?php


namespace app\admin\controller\v1;

use app\admin\model\admin_user;
use think\facade\Session;
use think\facade\View;

use app\BaseController;

class index extends BaseController
{
    public function index($id){

     return View::fetch();

    }
    public function login()
    {
        return View::fetch();
    }

    public function loginCheck(){
        return (new admin_user())->loginCheck();
    }
    public function checkSession(){
        return (new Session())::get('wangtao');
    }
}